Implement True Query Concurrency with Multi-Threaded Chat UI - #453
Open
ngoiyaeric wants to merge 5 commits into
Open
Implement True Query Concurrency with Multi-Threaded Chat UI#453ngoiyaeric wants to merge 5 commits into
ngoiyaeric wants to merge 5 commits into
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Implemented true query concurrency by introducing a multi-threaded chat interface. The system now supports multiple independent conversation threads within a single session, each with its own isolated context and map state. The backend submission logic has been updated to be non-blocking, allowing users to interact with other threads while AI processing occurs in the background. State persistence has been refactored to save each thread as a separate chat record in the database.
PR created automatically by Jules for task 11113767885533265073 started by @ngoiyaeric
PR Type
Enhancement, Tests
Description
Refactored chat submission logic with improved error handling and UI updates
Added loading overlay test handling and mobile-compatible attachment button selectors
Repositioned new chat button into input area for better UX on desktop
Made chat persistence non-blocking with background save and error logging
Added data-testid to loading overlay for test reliability
Diagram Walkthrough
File Walkthrough
chat.spec.ts
Enhanced test selectors and loading state handlingtests/chat.spec.ts
variants
lottie-player.tsx
Added test identifier to loading overlaycomponents/ui/lottie-player.tsx
identification
actions.tsx
Error handling and non-blocking persistence refactorapp/actions.tsx
handling
area positioning
management
section
chat-panel.tsx
Relocated new chat button to input areacomponents/chat-panel.tsx
exist
area
desktop)
Summary by CodeRabbit
New Features
Bug Fixes
UI/UX Improvements
Tests
✏️ Tip: You can customize this high-level summary in your review settings.